<#import "/layout.html" as c>
    <#import "/list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="Index">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="用户冻结记录列表" subTitle="用户冻结记录列表" alertList=alertList permi="sys:freeze:save" addBtn=true searchHint="请输入用户名/手机号码/姓名进行搜索">

        <@shiro.hasPermission name="sys:user:freeze:edit">
            <input type="hidden" id="editPermi" value="1"/>
        </@shiro.hasPermission>

    <!-- 开启编辑用户冻结模态窗口 -->
    <div class="modal fade" id="editModal" tabindex="-1" role="dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title"> 功能冻结 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTipsEdit" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
                </div>
                <div class="modal-body">
                    <ul class="text-info p-b-15 p-l-15 collapse in" role="tabpanel" id="OperationTipsEdit">
                        <li class="m-b-3">选择用户需要冻结的功能</li>
                    </ul>
                    <form id="editForm"class="form-horizontal form-bordered p-0" autocomplete="off" action="${adminRoot}/userFreeze/json/freeze" method="post" data-parsley-validate="true">
                        <input type="hidden" id="id" name="id"/>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">登录冻结&nbsp;: </label>
                            <div class="col-md-9 col-sm-8">
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="login1" name="freezingLogin" value="1">解冻</label></span>
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="login2" name="freezingLogin" value="2">冻结</label></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label  col-md-2 col-sm-3">充值冻结&nbsp;: </label>
                            <div class="col-md-9 col-sm-8">
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="recharge1" name="freezeRecharge" value="1">解冻</label></span>
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="recharge2" name="freezeRecharge" value="2">冻结</label></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label  col-md-2 col-sm-3">提现冻结&nbsp;: </label>
                            <div class="col-md-9 col-sm-8">
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="cash1" name="freezeCash" value="1">解冻</label></span>
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="cash2" name="freezeCash" value="2">冻结</label></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">点买冻结&nbsp;: </label>
                            <div class="col-md-9 col-sm-8">
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="tender1" name="freezeTender" value="1">解冻</label></span>
                                <span class="p-l-0"><label class="radio-inline"> <input type="radio" data-parsley-multiple="showType" id="tender2" name="freezeTender" value="2">冻结</label></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">备注&nbsp;: </label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" id="remark" name="remark" value="" class="form-control" maxlength="100">
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a> </div>
            </div>
        </div>
    </div>
    <!-- 结束编辑用户冻结模态窗口 -->


</@list.html>
<!-- ================== 开始页面级JavaScrip调用 ================== -->
<script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
<!-- 表单checkbox项 -->
<script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
<!-- 日历控件 -->
<script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
<script src="${jsRoot}user/userFreeze.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
